# model

# contains the storage-order - necessary for the raid-5-concept. initial values are 'storage1 = amazon', 'storage2 = google' and 'storage3 = openstack'.
# by each call of the order stored in this database, it will be set a new order (rotating-parity).

# NOTE:
#        the notation of the storage-names must be the same as the notation in the class 'utilities'.
#        have a look at the methods 'getAmazonText()', 'getGoogleText()' and 'getOpenStackText()'

from google.appengine.ext import db

class OctopusCloudDatabaseStorageOrder(db.Model):
    user = db.StringProperty(required=True)
    
    storageOne = db.StringProperty(default="Amazon S3/EC2")
    storageTwo = db.StringProperty(default="Google Storage")
    storageThree = db.StringProperty(default="OpenStack Storage")
